//
//  SDHSportsDataManager.h
//  SDHSportsNews
//
//  Created by MichaelShan on 2021/3/9.
//

#import <Foundation/Foundation.h>
@class SDHSportsNewsModal, SDHSportsMatchSoccerModel, SDHSportsTeamInfoModel, SDHSportsUserModel;

NS_ASSUME_NONNULL_BEGIN

@interface SDHSportsDataManager : NSObject

@property (nonatomic, strong) SDHSportsUserModel *user;
@property (nonatomic, strong) NSMutableArray *newsArray;

+ (instancetype)sharedManager;

- (void)addBrowseNews:(SDHSportsNewsModal *)model;
- (void)addFollowNews:(SDHSportsNewsModal *)model;
- (NSArray *)getBrowseNews;
- (NSArray *)getFollowNews;

- (void)addBrowseMatch:(SDHSportsMatchSoccerModel *)model;
- (void)addFollowMatch:(SDHSportsMatchSoccerModel *)model;
- (NSArray *)getBrowseMatch;
- (NSArray *)getFollowMatch;

- (void)addBrowseTeam:(SDHSportsTeamInfoModel *)model;
- (void)addFollowTeam:(SDHSportsTeamInfoModel *)model;
- (NSArray *)getBrowseTeam;
- (NSArray *)getFollowTeam;

- (void)addNews:(NSArray *)newsArr;


- (void)clearCache;
- (void)logout;

@end

NS_ASSUME_NONNULL_END
